package ch6;

public class USBCamera extends Camera implements USB, PhotoTake {
	private String brand;
	private String pixels;
	private int money;

	public USBCamera(String brand, String pixels, int money) {
		super();
		this.brand = brand;
		this.pixels = pixels;
		this.money = money;
	}

	@Override
	public void takePicture() {
		System.out.println(brand + "摄像头正在视频并录制视频");
	}

	@Override
	public void plugin() {
		System.out.println(brand + "摄像头接上了电脑，开始看到图像");
	}

	@Override
	public void unplugin() {
		System.out.println(brand + "摄像头从电脑上移除，图像消失");
	}

	public void resizeScreen() {
		System.out.println("摄像头可以调整视频窗口大小");
	}
}
